import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        System.out.println("请输入出生年份:");
        Scanner input = new Scanner(System.in);
        int year = input.nextInt();
        for(int i = year; i <= year + 100; i += 12) {
            System.out.print(i + ' ');
        }
    }
}